GBML manual / Constants

ALIGN_CENTER

Aligns draw_text’s (x, y) to the center of the text, for text_align.

Syntax

ALIGN_CENTER: constant

Description

Names center alignment, for text_align - (x, y) marks the horizontal center of the text that follows.

Example

text_align(ALIGN_CENTER);

Centre-aligns every following draw_text call - the usual choice for a title or a centered readout.

See also: text_align